Part Number Hot Search : 
1117G TA0843A FS4000 B10100 01547 Y7C15 7C101 SMA11
Product Description
Full Text Search
 

To Download KS0066 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  KS0066u 16com / 40seg driver & controller for dot matrix lcd introduction KS0066u is a dot matrix lcd driver & controller lsi whichis fabricated by low power cmos technology. it can display 1or 2 lines with the 5 8 dots format or 1 line with the 5 11 dots format. functions ? character type dot matrix lcd driver & controller. ? internal driver: 16 common and 40 segment signal output. ? easy interface with 4-bit or 8-bit mpu. ? display character pattern: 5 8 dots format (208 kinds) & 5 11 dots format (32 kinds). ? the special character pattern is directly programmable by the character generator ram. ? a customer character pattern is programmable by mask option. ? programmable driving method by the same character font mask option: display waveform a-type and b-type ? it can drive a maximum at 80 characters by using the ks0065b or ks0063b externally. ? various instruction functions. ? built-in automatic power on reset. features ? internal memory - character generator rom (cgrom): 10,080 bits (204 characters 5 8 dots) & (32 characters 5 11 dots) - character generator ram (cgram): 64 8 bits (8 characters 5 8 dots) - display data ram (ddram): 80 8 bits (80 characters max.) ? low power operation - power supply voltage range (vdd): 2.7 to 5.5 v - lcd drive voltage range (vdd - v5): 3.0 to 13.0 v ? cmos process ? programmable duty cycle: 1/8, 1/11, 1/16 ? internal oscillator with external resistor ? low power consumption ? 80 qfp or bare chip available 80 qfp-1420c
KS0066u 16com / 40seg driver & controller for dot matrix lcd block diagram timing input /output instruction register (ir) instruction decoder display data ram (dd ram) 80x8 bits address counter data register (dr) 40 8 40-bit latch circuit s1 - s40 16-bit shift register common driver c1 - c16 cursor & blink controller character generator ram (cgram) 512 bits character generator rom (cgrom) 10080 bits data conversion circuit 8 8 db4 - db7 e rs buffer 8 r/w 8 7 7 5 5 db0 - db3 parallel to serial busy flag 40-bit shift register segment driver generator circuit 7 8 16 d clk1 clk2 m osc2 osc1 7 vdd gnd v1 v2 v3 v4 v5 8 (id)
KS0066u 16com / 40seg driver & controller for dot matrix lcd pin configuration 6 4 s 3 9 6 3 s 4 0 6 2 c 1 6 6 1 c 1 5 6 0 c 1 4 5 9 c 1 3 5 8 c 1 2 5 7 c 1 1 5 6 c 1 0 5 5 c 9 5 4 c 8 5 3 c 7 5 2 c 6 5 1 c 5 5 0 c 4 4 9 c 3 4 8 c 2 4 7 c 1 4 6 d b 7 4 5 d b 6 4 4 d b 5 4 3 d b 4 4 2 d b 3 4 1 d b 2 25 osc2 26 v1 27 v2 28 v3 29 v4 30 v5 31 clk1 32 clk2 33 vdd 34 m 35 d 36 rs 38 e 39 db0 40 db1 s 2 2 s 2 1 s 2 0 s 1 9 s 1 8 s 1 7 s 1 6 s 1 5 s 1 4 s 1 3 s 1 2 s 1 1 s 1 0 s 9 s 8 s 7 s 6 s 5 s 4 s 3 s 2 s 1 g n d o s c 1 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 2 4 2 3 2 2 2 1 2 0 1 9 1 8 1 7 37 r/w s23 s24 s25 s26 s27 s28 s29 s30 s31 s32 s33 s34 s35 s36 s37 s38 KS0066u
KS0066u 16com / 40seg driver & controller for dot matrix lcd pad diagram s22 s21 s20 s19 s18 s17 s16 s15 s14 s13 s12 s11 s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 gnd (0,0) x y chip size: 4060 3840 pad size: 100 100 unit: m m osc1 s39 s40 c16 c15 c14 c13 c12 c11 c10 c9 c8 c7 c6 c5 c4 c3 c2 c1 db7 db6 db5 db4 db3 db2 s 2 3 s 2 4 s 2 5 s 2 6 s 2 7 s 2 8 s 2 9 s 3 0 s 3 1 s 3 2 s 3 3 s 3 4 s 3 5 s 3 6 s 3 7 s 3 8 o s c 2 v 1 v 2 v 3 v 4 v 5 c l k 1 c l k 2 v d d m d r s r / w e d b 0 d b 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 8 0 7 9 7 8 7 7 7 6 7 5 7 4 7 3 7 2 7 1 7 0 6 9 6 8 6 7 6 6 6 5 KS0066u note: ? KS0066u ? marking is to make the pad no. 65 easy to find.
KS0066u 16com / 40seg driver & controller for dot matrix lcd pad location table 1. pad location pad no. pad name coordinate pad no. pad name coordinate pad no. pad name coordinate pad no. pad name coordinate x y x y x y x y 1 s22 -1864 1465 21 s2 -1864 -1034 41 db2 1864 -1488 61 c15 1864 1085 2 s21 -1864 1340 22 s1 -1864 -1159 42 db3 1864 -1362 62 c16 1864 1210 3 s20 -1864 1215 23 gnd -1864 -1285 43 db4 1864 -1238 63 s40 1864 1341 4 s19 -1864 1090 24 osc1 -1864 -1414 44 db5 1864 -1112 64 s39 1864 1466 5 s18 -1864 965 25 osc2 -1120 -1754 45 db6 1864 -988 65 s38 886 1754 6 s17 -1864 840 26 v1 -970 -1754 46 db7 1864 -862 66 s37 760 1754 7 s16 -1864 715 27 v2 -820 -1754 47 c1 1864 -665 67 s36 636 1754 8 s15 -1864 590 28 v3 -670 -1754 48 c2 1864 -540 68 s35 510 1754 9 s14 -1864 465 29 v4 -520 -1754 49 c3 1864 -415 69 s34 386 1754 10 s13 -1864 340 30 v5 -370 -1754 50 c4 1864 -290 70 s33 260 1754 11 s12 -1864 215 31 clk1 -220 -1754 51 c5 1864 -165 71 s32 136 1754 12 s11 -1864 90 32 clk2 -70 -1754 52 c6 1864 -40 72 s31 10 1754 13 s10 -1864 -35 33 vdd 80 -1754 53 c7 1864 85 73 s30 -114 1754 14 s9 -1864 -160 34 m 230 -1754 54 c8 1864 210 74 s29 -240 1754 15 s8 -1864 -285 35 d 380 -1754 55 c9 1864 335 75 s28 -364 1754 16 s7 -1864 -410 36 rs 518 -1754 56 c10 1864 460 76 s27 -490 1754 17 s6 -1864 -535 37 r/w 642 -1754 57 c11 1864 585 77 s26 -614 1754 18 s5 -1864 -660 38 e 768 -1754 58 c12 1864 710 78 s25 -740 1754 19 s4 -1864 -785 39 db0 894 -1754 59 c13 1864 835 79 s24 -864 1754 20 s3 -1864 -910 40 db1 1018 -1754 60 c14 1864 960 80 s23 -989 1754 (unit: m m)
KS0066u 16com / 40seg driver & controller for dot matrix lcd pin description table 2. pin description pin pin no. i/o name description interface vdd 33 - supply voltage supply voltage for logical circuit (+3v 10%,+5v 10%) power supply gnd 23 ground (0v) v1-v5 26-30 bias voltage level for lcd driving s1-s40 1-22, 63-80 o segment output segment signal output for lcd drive lcd c1-c16 47-62 o common output common signal output for lcd drive lcd osc1 24 i oscillator oscillator. when using internal oscillator, connect external rf resistor. if external clock is used, connect it to osc1. external resistor/oscillator (osc1) osc2 25 o oscillator clk1 31 o extension driver latch clock extension driver latch clock extension driver clk2 32 o extension driver shift clock extension driver shift clock m 34 o alternated signal for lcd driver output outputs the alternating signal to convert lcd driver waveform to ac. extension driver d 35 o display data interface outputs extension driver data (the 41st dot's data) extension driver rs 36 i register select used as register selection input. when rs = ?high?, data register is selected. when rs = ?low?, instruction register is selected. mpu r/w 37 i read/write used as read/write selection input. when rw = ?high?, read operation. when rw = ?low?, write operation. mpu e 38 i read/write enable used as read/write enable signal. mpu db0-db3 39-42 i/o data bus 0-7 in 8-bit bus mode, used as low order bidirectional data bus. in 4-bit bus mode, open these pins. mpu db4-db7 43-46 in 8-bit bus mode, used as high order bidirectional data bus. in 4-bit bus mode, used as both high and low order. db7 used for busy flag output. mpu
KS0066u 16com / 40seg driver & controller for dot matrix lcd function description system interface this chip has both kinds of interface type with mpu: 4-bit bus and 8-bit bus. 4-bit bus and 8-bit bus are selected by the dl bit in the instruction register. during read or write operation, two 8-bit registers are used. one is the data register (dr), and the other is the instruction register (ir). the data register (dr) is used as a temporary data storage place for being written into or read from ddram/cgram. the target ram is selected by ram address setting instruction. each internal operation, reading from or writing into ram, is done automatically. thus, after mpu reads dr data, the data in the next ddram/cgram address is transferred into dr automatically. also, after mpu writes data to dr, the data in dr is transferred into ddram/cgram automatically. the instruction register(ir) is used only to store instruction codes transferred from mpu. mpu cannot use it to read instruction data. to select a register, you can use rs input pin in 4-bit/8-bit bus mode. busy flag (bf) bf = ?high?, indicates that the internal operation is being processed. so during this time the next instruction cannot be accepted. bf can be read through db7 port when rs = ?low? and r/w = ?high? (read instruction operation). before executing the next instruction, be sure that bf is not ?high?. address counter (ac) the address counter (ac) stores ddram/cgram addresses, transferred from ir. after writing into (reading from) ddram/cgram, ac is automatically increased (decreased) by 1. when rs = ?low? and r/w = ?high?, ac can be read through ports db0 to db6. table 3. various kinds of operations according to rs and r/w bits rs r/w operation l l instruction write operation (mpu writes instruction code into ir) l h read busy flag(db7) and address counter (db0 to db6) h l data write operation (mpu writes data into dr) h h data read operation (mpu reads data from dr)
KS0066u 16com / 40seg driver & controller for dot matrix lcd display data ram (ddram) ddram stores display data of maximum 80 8 bits (80 characters). ddram address is set in the address counter(ac) as a hexadecimal number (refer to fig-1.) figure 1 . ddram address 1) 1-line display in case of 1-line display, the address range of ddram is 00h - 4fh. an extension driver will be used. fig-2 shows the example with 40 segment extension driver added. figure 2 . 1-line 24 char. display with 40 seg. extension driver com1 com8 (after shift left) (after shift right) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 com1 com8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 seg1 KS0066u seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 com1 com8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4f 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 seg1 KS0066u seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 seg1 KS0066u seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 ddram address display position msb lsb ac6 ac5 ac4 ac3 ac2 ac1 ac0
KS0066u 16com / 40seg driver & controller for dot matrix lcd 2) 2-line display in case of 2-line display, the address range of ddram is 00h - 27h and 40h - 67h. an extension driver will be used. fig-3 shows the example with 40 segment extension driver added. figure 3 . 2-line 24 char. display with 40 seg. extension driver com1 com8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 com9 com16 (after shift left) com1 com8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 com9 com16 seg1 KS0066u seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 seg1 KS0066u seg40 ddram address display position com1 com8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 67 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 5e 4f 50 51 52 53 54 55 56 com9 com16 (after shift right) seg1 extension driver (40seg) seg40 seg1 extension driver (40seg) seg40 seg1 KS0066u seg40
KS0066u 16com / 40seg driver & controller for dot matrix lcd cgrom(character generator rom) cgrom has a 5 8 dots 204 characters pattern and a 5 11 dots 32 characters pattern (refer to table 4). cgrom has 204 character patterns of 5 8 dots, and 32 character patterns of 5 11 dots. cgram(character generator ram) cgram has up to 5 8 dots 8 characters. by writing font data to cgram, user defined characters can be used (refer to table 5) timing generation circuit timing generation circuit generates clock signals for the internal operations. lcd driver circuit lcd driver circuit has 16 common and 40 segment signals for lcd driving. data from cgram/cgrom is transferred to a 40-bit segment latch serially, and then is stored to 40-bit shift latch. when each common is selected by 16-bit common register, segment data is also output through segment driver from a 40-bit segment latch. in case of 1-line display mode, com1 to com8 have 1/8 duty or com1 to com11 have 1/11 duty, and in 2-line mode, com1 to com16 have a 1/16 duty ratio. cursor/blink control circuit it controls the cursor/blink on/off at cursor position.
KS0066u 16com / 40seg driver & controller for dot matrix lcd table 4. cgrom character code table
KS0066u 16com / 40seg driver & controller for dot matrix lcd table 5. relationship between character code (ddram) and character pattern (cgram) character code (ddram data) cgram address cgram data pattern number d7 d6 d5 d4 d3 d2 d1 d0 a5 a4 a3 a2 a1 a0 p7 p6 p5 p4 p3 p2 p1 p0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 pattern 1 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 0 0 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1 pattern 8 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 0 0 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 0 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
KS0066u 16com / 40seg driver & controller for dot matrix lcd instruction description outline to overcome the speed difference between the internal clock of KS0066u and the mpu clock, KS0066u performs internal operations by storing control informations to ir or dr. the internal operation is determined according to the signal from mpu, composed of read/write and data bus (refer to table 7). instructions can be divided largely into four groups: 1) KS0066u function set instructions (set display methods, set data length, etc.) 2) address set instructions to internal ram 3) data transfer instructions with internal ram 4) others the address of the internal ram is automatically increased or decreased by 1. note: during internal operation, busy flag (db7) is read ?high?. busy flag check must be preceded by the next instruction. when an mpu program with checking the busy flag (db7) is made, it must be necessary 1/2 fosc for executing the next instruction by the falling edge of the 'e' signal after the busy flag (db7) goes to ?low?. contents 1) clear display clear all the display data by writing ?20h? (space code) to all ddram address, and set ddram address to ?00h? into ac (address counter). return cursor to the original status, namely, bring the cursor to the left edge on the first line of the display. make the entry mode increment (i/d = ?high?). 2) return home * ?- ?: don?t care return home is cursor return home instruction. set ddram address to ?00h? into the address counter. return cursor to its original site and return display to its original status, if shifted. contents of ddram does not change. rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 0 0 0 1 rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 0 0 1 -
KS0066u 16com / 40seg driver & controller for dot matrix lcd 3) entry mode set set the moving direction of cursor and display. i/d: increment / decrement of ddram address (cursor or blink) when i/d = ?high?, cursor/blink moves to right and ddram address is increased by 1. when i/d = ?low?, cursor/blink moves to left and ddram address is decreased by 1. * cgram operates the same way as ddram, when reading from or writing to cgram. sh: shift of entire display when ddram read (cgram read/write) operation or sh = ?low?, shifting of entire display is not performed. if sh = ?high? and ddram write operation, shift of entire display is performed according to i/d value (i/d = ?high?: shift left, i/d = ?low?: shift right). 4) display on/off control control display/cursor/blink on/off 1 bit register. d: display on/off control bit when d = ?high?, entire display is turned on. when d = ?low?, display is turned off, but display data remains in ddram. c: cursor on/off control bit when c = ?high?, cursor is turned on. when c = ?low?, cursor is disappeared in current display, but i/d register preserves its data. b: cursor blink on/off control bit when b = ?high?, cursor blink is on, which performs alternately between all the ?high? data and display characters at the cursor position. when b = ?low?, blink is off. rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 0 1 i/d sh rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 1 d c b
KS0066u 16com / 40seg driver & controller for dot matrix lcd 5) cursor or display shift shifting of right/left cursor position or display without writing or reading of display data. this instruction is used to correct or search display data.(refer to table 6) during 2-line mode display, cursor moves to the 2nd line after the 40th digit of the 1st line. note that display shift is performed simultaneously in all the lines. when displayed data is shifted repeatedly, each line is shifted individually. when display shift is performed, the contents of the address counter are not changed. 6) function set dl: interface data length control bit when dl = ?high?, it means 8-bit bus mode with mpu. when dl = ?low?, it means 4-bit bus mode with mpu. hence, dl is a signal to select 8-bit or 4-bit bus mode. when 4-bit bus mode, it needs to transfer 4-bit data twice. n: display line number control bit when n = ?low?, 1-line display mode is set. when n = ?high?, 2-line display mode is set. f: display font type control bit when f = ?low?, 5 8 dots format display mode is set. when f = ?high?, 5 11 dots format display mode. rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 1 s/c r/l - - table 6. shift patterns according to s/c and r/l bits s/c r/l operation 0 0 shift cursor to the left, ac is decreased by 1 0 1 shift cursor to the right, ac is increased by 1 1 0 shift all the display to the left, cursor moves according to the display 1 1 shift all the display to the right, cursor moves according to the display rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 1 dl n f - -
KS0066u 16com / 40seg driver & controller for dot matrix lcd 7) set cgram address set cgram address to ac. this instruction makes cgram data available from mpu. 8) set ddram address set ddram address to ac. this instruction makes ddram data available from mpu. when 1-line display mode (n = low), ddram address is from ?00h? to ?4fh?. in 2-line display mode (n = high), ddram address in the 1st line is from ?00h? to ?27h?, and ddram address in the 2nd line is from ?40h? to ?67h?. 9) read busy flag & address this instruction shows whether KS0066u is in internal operation or not. if the resultant bf is ?high?, internal operation is in progress and should wait until bf is to be low, which by then the next instruction can be performed. in this instruction you can also read the value of the address counter. rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 1 ac5 ac4 ac3 ac2 ac1 ac0 rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 1 ac6 ac5 ac4 ac3 ac2 ac1 ac0 rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 1 bf ac6 ac5 ac4 ac3 ac2 ac1 ac0
KS0066u 16com / 40seg driver & controller for dot matrix lcd 10) write data to ram write binary 8-bit data to ddram/cgram. the selection of ram from ddram, and cgram, is set by the previous address set instruction (dram address set, cgram address set). ram set instruction can also determine the ac direction to ram. after write operation, the address is automatically increased/decreased by 1, according to the entry mode. 11) read data from ram read binary 8-bit data from ddram/cgram. the selection of ram is set by the previous address set instruction. if the address set instruction of ram is not performed before this instruction, the data that has been read first is invalid, as the direction of ac is not yet determined. if ram data is read several times without ram address instructions set before read operation, the correct ram data can be obtained from the second. but the first data would be incorrect, as there is no time margin to transfer ram data. in case of ddram read operation, cursor shift instruction plays the same role as ddram address set instruction, it also transfers ram data to output data register. after read operation, address counter is automatically increased/decreased by 1 according to the entry mode. after cgram read operation, display shift may not be executed correctly. note: in case of ram write operation, ac is increased/decreased by 1 as in read operation. at this time, ac indicates the next address position, but only the previous data can be read by the read instruction. rs r/w db7 db6 db5 db4 db3 db2 db1 db0 1 0 d7 d6 d5 d4 d3 d2 d1 d0 rs r/w db7 db6 db5 db4 db3 db2 db1 db0 1 1 d7 d6 d5 d4 d3 d2 d1 d0
KS0066u 16com / 40seg driver & controller for dot matrix lcd note: when an mpu program with checking the busy flag(db7) is made, it must be necessary 1/2fosc is necessary for executing the next instruction by the falling edge of the 'e' signal after the busy flag (db7) goes to ?low?. table 7. instruction table instruction instruction code description execution time (fosc= 270 khz) rs r/w db7 db6 db5 db4 db3 db2 db1 db0 clear display 0 0 0 0 0 0 0 0 0 1 write ?20h? to ddram and set ddram address to ?00h? from ac 1.53 ms return home 0 0 0 0 0 0 0 0 1 - set ddram address to ?00h? from ac and return cursor to its original position if shifted. the contents of ddram are not changed. 1.53 ms entry mode set 0 0 0 0 0 0 0 1 i/d sh assign cursor moving direction and enable the shift of entire display. 39 m s display on/ off control 0 0 0 0 0 0 1 d c b set display(d), cursor(c), and blinking of cursor(b) on/off control bit. 39 m s cursor or display shift 0 0 0 0 0 1 s/c r/l - - set cursor moving and display shift control bit, and the direction, without changing of ddram data. 39 m s function set 0 0 0 0 1 dl n f - - set interface data length (dl: 8-bit/4-bit), numbers of display line (n: 2-line/1-line) and, display font type (f:5 11dots/5 8 dots) 39 m s set cgram address 0 0 0 1 ac5 ac4 ac3 ac2 ac1 ac0 set cgram address in address counter. 39 m s set ddram address 0 0 1 ac6 ac5 ac4 ac3 ac2 ac1 ac0 set ddram address in address counter. 39 m s read busy flag and address 0 1 bf ac6 ac5 ac4 ac3 ac2 ac1 ac0 whether during internal operation or not can be known by reading bf. the contents of address counter can also be read. 0 m s write data to ram 1 0 d7 d6 d5 d4 d3 d2 d1 d0 write data into internal ram (ddram/cgram). 43 m s read data from ram 1 1 d7 d6 d5 d4 d3 d2 d1 d0 read data from internal ram (ddram/cgram). 43 m s * ?-?: don?t care
KS0066u 16com / 40seg driver & controller for dot matrix lcd interface with mpu 1) interface with 8-bit mpu when interfacing data length are 8-bit, transfer is performed at a time through 8 ports, from db0 to db7. example of timing sequence is shown below. figure 4 . example of 8-bit bus mode timing diagram 2) interface with 4-bit mpu when interfacing data length are 4-bit, only 4 ports, from db4 to db7, are used as data bus. at first, the higher 4-bit (in case of 8-bit bus mode, the contents of db4 - db7), and then the lower 4-bit (in case of 8-bit bus mode, the contents of db0 - db3) are transferred. so transfer is performed twice busy flag outputs ?high? after the second transfer is ended. example of timing sequence is shown below. figure 5 . example of 4-bit bus mode timing diagram instruction busy flag check busy flag check instruction busy flag check internal operation data busy busy data busy no internal signal rs r/w e db7 internal signal internal operation d7 d3 busy ac3 no busy ac3 d7 d3 instruction busy flag check busy flag check instruction rs r/w e db7
KS0066u 16com / 40seg driver & controller for dot matrix lcd application information according to lcd panel 1) lcd panel: 8 characters 1-line format (5 7 dots + 1cursor line, 1/4 bias, 1/8 duty) 2) lcd panel: 8 characters 1-line format (5 10 dots + 1cursor line, 1/4 bias, 1/11 duty) KS0066u c1 c7 c8 . . . s1 s10 s38 s40 . . . s39 . . . KS0066u c1 c10 c11 . . . s1 s10 s38 s40 . . . s39 . . .
KS0066u 16com / 40seg driver & controller for dot matrix lcd 3) lcd panel: 8 characters 2 -line format (5 7 dots + line, 1/5 bias, 1/16 duty) 4) lcd panel: 16 characters 1-line format (5 7 dots + 1cursor line, 1/5 bias, 1/16 duty) KS0066u c7 c8 . . . s1 s10 s40 . . . . . . . c1 c15 c16 . . . c9 s39 c7 c8 . . . c1 s1 s10 s40 . . . . . . c16 . . . . . c9 KS0066u s39
KS0066u 16com / 40seg driver & controller for dot matrix lcd 5) lcd panel: 4 characters 2-line format (5 7 dots + 1cursor line, 1/4 bias, 1/8 duty) KS0066u c7 c8 . . . c1 s1 s10 s20 . . . s21 s30 s40 . . . s39 . . . s18 s19 . . .
KS0066u 16com / 40seg driver & controller for dot matrix lcd 6) application circuit note: when ks0065b is externally connected to the KS0066u, you can increase the number of display digits up to 80 characters. bias voltage divide circuit 1) 1/4 bias, 1/8 or 1/11 duty 2) 1/5 bias, 1/16 duty gnd or other voltage to mpu lcd panel KS0066u sc1 - sc40 dl1 fcs shl1 shl2 vss vdd dl2 dl1 dr2 cl1 cl2 m v e e v 1 v 2 v 3 v 4 v 5 v 6 sc1 - sc40 v e e v 1 v 2 v 3 v 4 v 5 v 6 sc1 - sc40 v e e v 1 v 2 v 3 v 4 v 5 v 6 dl2 dl1 dr2 cl1 cl2 m dl1 m dl2 dr2 cl1 cl2 dl1 fcs shl1 shl2 vss vdd dl1 fcs shl1 shl2 vss vdd vdd s1 - s40 c1 - c16 d vss m clk1 clk2 vdd v1 v2 v3 v4 v5 db0 - db7 osc1 osc2 k s 0 0 6 5 b k s 0 0 6 5 b k s 0 0 6 5 b v1 v2 v3 v4 v5 v l c d ( 1 / 5 b i a s ) vdd v1 v2 v3 v4 v5 r r r r vdd gnd or other voltage KS0066u vdd v1 v2 v3 v4 v5 r r r r vdd KS0066u gnd or other voltage r
KS0066u 16com / 40seg driver & controller for dot matrix lcd initializing when the power is turned on, KS0066u is initialized automatically by power on reset circuit. during the initialization, the following instructions are executed, and bf (busy flag) is kept ?high? (busy state) to the end of initialization. (1) display clear instruction: write ?20h? to all ddram (2) set functions instruction: dl = ?high?: 8-bit bus mode n = ?low?: 1-line display mode f = ?low?: 5 x 8 font type (3) control display on/off instruction: d = ?low?: display off c = ?low?: cursor off b = ?low?: blink off (4) set entry mode instruction: i/d = ?high?: increment by 1 sh = ?low?: no entire display shift frame frequency programmable driving method by the same font mask option: display waveform a-type, b-type 1) 1/8 duty cycle a) a-type waveform b) b-type waveform 1-line selection period = 400 clocks 1 frame = 400 8 3.7 m s = 11850 m s = 11.9 ms (1 clock=3.7 m s, fosc=270 khz) frame frequency = 1 / 11.9 ms = 84.4 hz vdd v1 v4 v5 com1 1 2 3 4 7 8 1 2 3 7 8 . . . . . . . . . . . . . . . 1-line selection period vdd v1 v4 v5 com1 . . . 1 frame 1 frame
KS0066u 16com / 40seg driver & controller for dot matrix lcd 2) 1/11 duty cycle a) a-type waveform b) b-type waveform 1-line selection period = 400 clocks 1 frame = 400 11 3.7 m s = 16300 m s = 16.3 ms (1 clock=3.7 m s, fosc=270 khz) frame frequency = 1 / 16.3 ms = 61.4 hz 3) 1/16 duty cycle a) a-type waveform b) b-type waveform 1-line selection period = 200 clocks 1 frame = 200 16 3.7 m s = 11850 m s = 11.9 ms (1 clock=3.7 m s, fosc=270 khz) frame frequency = 1 / 11.9 ms = 84.3 hz 1-line selection period vdd v1 v4 v5 com1 1 2 3 4 10 11 1 2 3 10 11 . . . . . . . . . . . . . . . vdd v1 v4 v5 com1 . . . 1 frame 1 frame 1-line selection period vdd v1 v4 v5 com1 1 2 3 4 15 16 1 2 3 15 16 . . . . . . . . . . . . . . . vdd v1 v4 v5 com1 . . . 1 frame 1 frame
KS0066u 16com / 40seg driver & controller for dot matrix lcd initializing by instruction 1) 8-bit interface mode (condition: fosc = 270khz) power on wait for more than 30 ms after v dd rises to 4.5 v function set rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 1 1 n f x x wait for more than 39 m s display on/off control rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 1 d c b wait for more than 39 m s display clear rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 0 0 0 1 wait for more than 1.53 ms entry mode set rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 0 1 i/d sh initialization end n 0 1-line mode 1 2-line mode f 0 display off 1 display on d 0 display off 1 display on c 0 cursor off 1 cursor on b 0 blink off 1 blink on i/d 0 decrement mode 1 increment mode sh 0 entire shift off 1 entire shift on
KS0066u 16com / 40seg driver & controller for dot matrix lcd 2) 4-bit interface mode (condition: fosc = 270khz) power on wait for more than 30 ms after vdd rises to 4.5 v function set rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 1 0 x x x x 0 0 0 0 1 0 x x x x 0 0 n f x x x x x x wait for more than 39 m s display on/off control rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 x x x x 0 0 1 d c b x x x x wait for more than 39 m s display clear rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 x x x x 0 0 0 0 0 1 x x x x wait for more than 1.53 ms entry mode set rs r/w db7 db6 db5 db4 db3 db2 db1 db0 0 0 0 0 0 0 x x x x 0 0 0 1 i/d sh x x x x initialization end n 0 1-line mode 1 2-line mode f 0 display off 1 display on d 0 display off 1 display on c 0 cursor off 1 cursor on b 0 blink off 1 blink on i/d 0 decrement mode 1 increment mode sh 0 entire shift off 1 entire shift on
KS0066u 16com / 40seg driver & controller for dot matrix lcd maximum absolute limit note: voltage greater than above may damage the circuit. v dd 3 v1 3 v2 3 v3 3 v4 3 v5 table 8. maximum absolute power ratings characteristic symbol unit value power supply voltage(1) v dd v -0.3 ~ +7.0 power supply voltage(2) v lcd v v dd -15.0 ~ v dd +0.3 input voltage v in v -0.3 ~ v dd +0.3 table 9. temperature characteristics characteristic symbol unit value operating temperature t opr c -30 ~ +85 storage temperature t stg c -55 ~ +125
KS0066u 16com / 40seg driver & controller for dot matrix lcd electrical characteristics dc characteristics table 10. dc characteristics (v dd = 4.5v ~ 5.5v, ta = -30 ~ +85 o c) characteristic symbol condition min. typ. max. unit operating voltage v dd - 4.5 - 5.5 v supply current i dd internal oscillation or external clock. (v dd =5.0 v, fosc = 270 khz) - 0.35 0.6 ma input voltage (1) (except osc1) v ih1 - 2.2 - v dd v v il1 - -0.3 - 0.6 input voltage (2) (osc1) v ih2 - v dd -1.0 - v dd v v il2 - -0.2 - 1.0 output voltage (1) (db0 to db7) v oh1 i oh = -0.205 ma 2.4 - - v v ol1 i ol = 1.2 ma - - 0.4 output voltage (2) (except db0 to db7) v oh2 i o = -40 m a 0.9v dd - - v v ol2 i o = 40 m a - - 0.1v dd voltage drop vd com i o = + 0.1 ma - - 1 v vd seg - - 1 input leakage current i ikg v in = 0 v to v dd -1 - 1 m a input low current i il v in = 0 v, v dd = 5 v (pull up) -50 -125 -250 internal clock (external rf) f osc1 rf = 91 k w + 2% (v dd = 5 v) 190 270 350 khz external clock f osc - 125 270 410 khz duty 45 50 55 % t r, t f - - 0.2 m s lcd driving voltage v lcd v dd -v 5 (1/5, 1/4 bias) 3.0 - 13.0 v
KS0066u 16com / 40seg driver & controller for dot matrix lcd table 11. dc characteristic (v dd =2.7v ~ 4.5v, ta = -30 ~ +85 o c) note: lcd driving voltage characteristic symbol condition min. typ. max. unit operating voltage v dd - 2.7 - 4.5 v supply current i dd internal oscillation or external clock. (v dd =3.0 v, fosc = 270 khz) - 0.15 0.3 ma input voltage (1) (except osc1) v ih1 - 0.7v dd - v dd v v il1 - -0.3 - 0.55 input voltage (2) (osc1) v ih2 - 0.7v dd - v dd v v il2 - - - 0.2v dd output voltage (1) (db0 to db7) v oh1 i oh = -0.1 ma 0.75v dd - - v v ol1 i ol = 0.1 ma - - 0.2v dd output voltage (2) (except db0 to db7) v oh2 i o = -40 m a 0.8v dd - - v v ol2 i o = 40 m a - - 0.2v dd voltage drop vd com i o = + 0.1 ma - - 1 v vd seg - - 1 input leakage current i ikg v in = 0 v to v dd -1 - 1 m a input low current i il v in = 0 v, v dd = 3 v (pull up) -10 -50 -120 internal clock (external rf) f osc1 rf = 75 k w + 2% (v dd = 3 v) 190 270 350 khz external clock f osc2 - 125 270 410 khz duty 45 50 55 % t r ,t f - - 0.2 m s lcd driving voltage v lcd v dd -v 5 (1/5, 1/4 bias) 3.0 - 13.0 v power duty 1/8, 1/11 duty 1/16 duty bias 1/4 bias 1/5 bias v dd v dd v dd v 1 v dd -v lcd /4 v dd -v lcd /5 v 2 v dd -v lcd /2 v dd -2v lcd /5 v 3 v dd -v lcd /2 v dd -3v lcd /5 v 4 v dd -3v lcd /4 v dd -4v lcd /5 v 5 v dd -v lcd v dd -v lcd
KS0066u 16com / 40seg driver & controller for dot matrix lcd ac characteristics table 12. ac characteristics (v dd = 4.5v ~ 5.5v, ta = -30 ~ +85 o c) table 13. ac characteristics (v dd =2.7v ~ 4.5v, ta = -30 ~ +85 o c) mode characteristic symbol min. typ. max. unit write mode (refer to fig-6) e cycle time tc 500 - - ns e rise / fall time t r ,t f - - 20 e pulse width (high, low) tw 230 - - r/w and rs setup time tsu1 40 - - r/w and rs hold time t h1 10 - - data setup time tsu2 80 - - data hold time t h2 10 - - read mode (refer to fig-7) e cycle time tc 500 - - ns e rise / fall time t r ,t f - - 20 e pulse width (high, low) tw 230 - - r/w and rs setup time tsu 40 - - r/w and rs hold time t h 10 - - data output delay time t d - - 120 data hold time t dh 5 - - mode characteristic symbol min. typ. max. unit write mode (refer to fig-6) e cycle time tc 1000 - - ns e rise / fall time t r t f - - 25 e pulse width (high, low) tw 450 - - r/w and rs setup time tsu1 60 - - r/w and rs hold time t h1 20 - - data setup time tsu2 195 - - data hold time t h2 10 - - read mode (refer to fig-7) e cycle time tc 1000 - - ns e rise / fall time t r ,t f - - 25 e pulse width (high, low) tw 450 - - r/w and rs setup time tsu 60 - - r/w and rs hold time t h 20 - - data output delay time t d - - 360 data hold time t dh 5 - -
KS0066u 16com / 40seg driver & controller for dot matrix lcd table 14. ac characteristics (v dd =2.7v ~ 4.5v, ta = -30 ~ +85 o c) figure 6 . write mode timing diagram figure 7 . read mode timing diagram mode characteristic symbol min. typ. max. unit interface mode with extension driver (refer to fig-8) clock pulse width (high, low) tc 800 - - ns clock rise / fall time t r ,t f - - 25 clock setup time tsu1 500 - - data setup time tsu2 300 - - data hold time t dh 300 - - m delay time t dm -1000 - 1000 v i h 1 v i l 1 v i l 1 t s u 1 t h 1 t w v i l 1 v i h 1 v i l 1 v i h 1 v i l 1 v i h 1 v i l 1 v i h 1 v i l 1 v i l 1 t c t f t r t s u 2 t h 2 v a l i d d a t a r s r / w e d b 0 ~ d b 7 t h 1 v i h 1 v i l 1 t s u t h t h t w v i h 1 v i l 1 v i h 1 v i l 1 v i h 1 v i l 1 v i h 1 v i l 1 v i l 1 t c t f t r v a l i d d a t a r s r / w e d b 0 ~ d b 7 v i h 1 v i h 1 t d t d h
KS0066u 16com / 40seg driver & controller for dot matrix lcd figure 8 . interface mode with extension driver timing diagram v o l 2 v o l 2 v o h 2 v o l 2 v o l 2 v o l 2 v o h 2 v o h 2 v o h 2 v o h 2 c l k 1 c l k 2 d m t d h t s u 2 t d m t s u 1 t w t w t w t f t r


▲Up To Search▲   

 
Price & Availability of KS0066

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X